#define _CRT_SECURE_NO_WARNINGS

#include <iostream>
#include <string>
#include <algorithm>
using namespace std;

int main() {
    std::string str = "123546";
   /* std::reverse(str.begin(), str.end());
    std::cout << str << std::endl;
    return 0;*/
    for (auto i : str)
    {
        cout << i << " ";
    }

    return 0;
}

